home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ggggrrrreeeesssseeeetttt((((3333GGGG)))) ggggrrrreeeesssseeeetttt((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ggggrrrreeeesssseeeetttt - resets graphics state
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggrrrreeeesssseeeetttt
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n_o_n_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ggggrrrreeeesssseeeetttt resets _a _p_o_r_t_i_o_n of the graphics state of a window to its default.
-
- See the following table for a listing of the state affected.
-
- _____________________________________
- SSSSttttaaaatttteeee | VVVVaaaalllluuuueeee
- _____________________________________
- backface mode off
- blinking off
- buffer mode single
- color undefined
- color map mode one map
- concave off
- cursor 0 (arrow)
- depth range _Z_m_i_n,_Z_m_a_x
- depthcue mode off
- display mode color map
- drawmode NORMDR
- font 0
- linestyle 0 (solid)
- linewidth 1 pixel
- lsrepeat 1
- pattern 0 (solid)
- picking size 10x10 pixels
- RGB color undefined
- RGB shaderange undefined
- RGB writemask undefined
- shademodel GOURAU
- shaderange 0,7,_Z_m_i_n,_Z_m_a_x
- viewport entire screen
- writemask all planes enabled
- zbuffer mode off
- _____________________________________
- ||||||||||||||||||||||||||||
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ||||||||||||||||||||||||||||
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Notes
-
- +o Font 0 is a Helvetica-like font.
-
- +o _Z_m_i_n and _Z_m_a_x are the minimum and maximum values that you can
- store in the z-buffer. These depend on the graphics hardware
- and are returned by ggggeeeettttggggddddeeee((((GGGGDDDDZZZZMMMMIIIINNNN)))) and ggggeeeettttggggddddeeee((((GGGGDDDDZZZZMMMMAAAAXXXX)))).
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ggggrrrreeeesssseeeetttt((((3333GGGG)))) ggggrrrreeeesssseeeetttt((((3333GGGG))))
-
-
-
- +o On IRIS-4D B and G models, ggggrrrreeeesssseeeetttt also sets llllssssbbbbaaaacccckkkkuuuupppp((((FFFFAAAALLLLSSSSEEEE)))) and
- rrrreeeesssseeeettttllllssss((((TTTTRRRRUUUUEEEE)))).
-
- ggggrrrreeeesssseeeetttt loads a 2-D orthographic projection transformation on the matrix
- stack with left, right, bottom, and top set to the boundaries of the
- screen (nnnnooootttt the current window). It also turns on the cursor.
-
- ggggrrrreeeesssseeeetttt loads certain entries in the color map, as follows:
-
- _______________________________________________
- RRRRGGGGBBBB VVVVaaaalllluuuueeee
- ________________________
- IIIInnnnddddeeeexxxx ||| NNNNaaaammmmeeee ||| _R_e_d
- | _G_r_e_e_n | _B_l_u_e
- _______________________________________________
- 0 BLACK 0 0 0
- 1 RED 255 0 0
- 2 GREEN 0 255 0
- 3 YELLOW 255 255 0
- 4 BLUE 0 0 255
- 5 MAGENT 255 0 255
- 6 CYAN 0 255 255
- 7 WHITE 255 255 255
- all others unnamed unchanged
- _______________________________________________
- ||||||||||||||
-
-
-
-
-
-
-
-
-
-
-
-
- ||||||||||||||
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- It loads the PUPDRW color map with the following entries:
-
- _____________________________________
- RRRRGGGGBBBB VVVVaaaalllluuuueeee
- ____________________
- IIIInnnnddddeeeexxxx ||| NNNNaaaammmmeeee ||| _R_e_d
- | _G_r_e_e_n | _B_l_u_e
- _____________________________________
- 1 PUPCOL 255 0 0
- 2 PUPBLK 0 0 0
- 3 PUPWHT 255 255 255
- _____________________________________
- ||||||||
-
-
-
-
-
-
- ||||||||
-
-
-
-
-
-
-
-
- It loads the CURSDR color map with the following entries:
-
- ____________________________
- RRRRGGGGBBBB VVVVaaaalllluuuueeee
- ____________________
- IIIInnnnddddeeeexxxx ||| _R_e_d | _G_r_e_e_n | _B_l_u_e
- ____________________________
- 1 255 0 0
- 2 255 255 255
- 3 255 0 0
- ____________________________
- ||||||||
-
-
-
-
-
-
- ||||||||
-
-
-
-
-
-
-
-
- On systems that do not have a 2-plane cursor, only index 1 is loaded.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ggggrrrreeeesssseeeetttt((((3333GGGG)))) ggggrrrreeeesssseeeetttt((((3333GGGG))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- getgde
-
- NNNNOOOOTTTTEEEESSSS
- This routine is available only in immediate mode.
-
- ggggrrrreeeesssseeeetttt sets the viewport and the projection transformation to values
- which assume that the current window occupies the entire screen, i.e. it
- was created via ggggiiiinnnniiiitttt or ggggbbbbeeeeggggiiiinnnn. If this is not the case, you will
- probably want to call rrrreeeesssshhhhaaaappppeeee and load a different projection
- transformation after calling ggggrrrreeeesssseeeetttt.
-
- This routine remains a part of the Graphics Library for reasons of
- backwards compatibility only. We do not recommend the use of this
- routine in new development.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-